package io.renren.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户
 * 
 * @author Guo
 * @email sunlightcs@gmail.com
 * @date 2023-07-08 17:19:34
 */
@Data
@TableName("tb_user")
public class UserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long userId;

	private Long inviteUserId;
	/**
	 * 用户名
	 */
	private String username;
	/**
	 * 头像
	 */
	private String avatar;
	/**
	 * 密码
	 */
	private String openId;
	private String ip;
	/**
	 * 
	 */
	private String sessionKey;
	/**
	 * 
	 */
	private Integer deleted;
	/**
	 * 
	 */
	private Date lastTime;
	/**
	 * 
	 */
	private Date modifyTime;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
